
<ion-header>

  <ion-navbar>
    <ion-title>取款</ion-title>
    <ion-buttons end><button ion-button (click)="gotoPageAction()">取款记录</button></ion-buttons>
  </ion-navbar>

</ion-header>


<ion-content>

  <ion-list>
    <ion-item class="item">
      <p>取款金额</p>
      <input  type="number" placeholder="请输入取款金额" [(ngModel)]="money">
    </ion-item>
    <button ion-item class="item">
      <ion-label>选择银行</ion-label>
      <ion-multi-picker item-content
                        cancelText="取消"
                        doneText="完成"
                        placeholder="选择银行"
                        [(ngModel)]="bankId"
                        [multiPickerColumns]="banks">

      </ion-multi-picker>
    </button>
  </ion-list>
  <p style="padding: 0 10px;color: #666;margin-bottom: 10px;">当前余额：￥{{user.cash}}元<span style="margin-left: 10px;color: #007aff" (click)="withdrawalAll()">全部提现</span></p>
  <ion-list>
    <ion-item class="item">
      <p>取款密码</p>
      <input  type="password" placeholder="请输入取款密码" [(ngModel)]="withdrawalPwd">
    </ion-item>
  </ion-list>
  <div class="submit">
    <button ion-button (click)="withdrawalAction()">确定</button>
  </div>

</ion-content>
